﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using CSF.BusinessCore.Data;

namespace CSF.Financial.Data
{
    /// <summary>
    /// Author: Robin
    /// Create Date: 2011-9-8
    /// 付款请求单
    /// </summary>
    public class PaymentRequest : Transaction
    {
        /// <summary>
        /// 客户Id
        /// </summary>
        public int CustomerId { get; set; }
        /// <summary>
        /// 用户手工输入的助记代码
        /// </summary>
        public string RequestNo { get; set; }
        /// <summary>
        /// 发件人
        /// </summary>
        public string Sender { get; set; }
        /// <summary>
        /// 发送地址
        /// </summary>
        public string ToAddress { get; set; }
        /// <summary>
        /// 抄送地址
        /// </summary>
        public string CcAddress { get; set; }
        /// <summary>
        /// 密送地址
        /// </summary>
        public string BccAddress { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 正文
        /// </summary>
        public string Body { get; set; }
        /// <summary>
        /// 签名
        /// </summary>
        public string Signature { get; set; }
        /// <summary>
        /// 催款总额
        /// </summary>
        public decimal RequestTotal { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 是否已发送
        /// </summary>
        public bool IsSent { get; set; }
        /// <summary>
        /// 最近成功发送人
        /// </summary>
        public string SendBy { get; set; }
        /// <summary>
        /// 最近成功发送时间
        /// </summary>
        public DateTime? SendTime { get; set; }
        /// <summary>
        /// 银行Id
        /// </summary>
        public int? BankAccountId { get; set; }
    }
}
